Replace $HOME for an actual ~, needs to be escaped