Update setup.sh

take care of pre-reqs and exit on fail