/// <summary>
        /// Initializes environment according to the setup information.
        /// </summary>
        private ScriptDomainManager()
        {
            // create local environment for the host:
            _environment = new ScriptEnvironment(this);
            _host = new ScriptHost(_environment);

            // initialize snippets:
            _snippets = new Snippets();
            _pal = null;
        }