fixes to install script