finished install.sh file. added error handling of some sort