fixed absolute paths to files in shell script