Fixed bug where with multiple Pig scripts, the last Pig script would execute in place of the previous scripts