Set path, run a shell script. Overwrite path and then try running the script again.