added install script and better testing of build failures