update DScriptGenerator