Replaced $cwd with bash default $PWD