Changed ~ to $HOME in PATH