fix pig script path bug.