Perfecting the Pig Environment