Unpacking pig scripts