more install script's fixes