changed short_pwd script to get path from bash (handles symlink dirs)