Updated working version of install script