Improved install script.