show `pwd` problems in applescript and shell