Changed setup script to use $HOME variable instead of ~ for home directory paths