Fixing paths to work with $HOME variable, to be more flexible.