Fixed basic error checking in install.sh