Change type to IScriptHostFactory