Fix: replace ~ with ${HOME}