Move PATH manipulation out of C code into "run" shell script