add some ScriptSupport improvements