Fixes path issues with the setup.sh script.

Also stops the nested symlink issue I was having.
Adds an argument for specifying the home directory.