Add plugins "function" addScriptCommandDeprecated