Change ~ to ${HOME}