Updated the setup script.

Updated the setup script so it can now be setup without having to
clone the repository first, also has a few more checks existing in
the script.