replace explicit path with $HOME