Added better installation error handling