Fixing the issues with pwd in the shell scripts