improved install script.