install script improvments