Change ~ to $HOME