main install script