Updated install script to use functions, added the ability for the user to specify install locaitons