fixed bug in hadoop scripts; added Gordon's Pig support