Using HOME variable instead of tilde(~)