Fixed issues with the install script