replace abs path with $HOME