Finalized Pig scripts