changed sh and Rout directories to tmp.pbs