added automatic triggering of pig script, updated paths