Replaced $HOME by ~.