private function prepareHostedMode()
    {
        $param_server = nbCLICheckOption('s', 'server', ':', false);
        if (strlen($param_server) === 0) {
            $param_server = self::DEFAULT_HOSTED_KEY;
            $this->mode = CNabuEngine::ENGINE_MODE_HOSTED;
            $this->server_key = $param_server;
        } else {
            echo "Invalid server key provided for Hosted Engine Mode.\n";
            echo "Please revise your options and try again.\n";
        }
    }