Fixes to install script