changed ~ to $HOME, the former did not work for remote log-in
updated
updated