Perfecting the Pig Environment door