install script improved