Create ScriptGenerator