fixed path changes in pig and bash scripts