more fixes in install script