fix directory path in shell script