Use $HOME for home directory instead of absolute path