Updated install script and engine