Fixes to install script.