use $HOME instead of ~