slight modifications to install script.