(function(){ var security_id=%max_security_id; // Setup Path var sPlugin=external.m2_plugin_folder(security_id, 'AdHunterEnhancer'); var oInfo=external.max_getObj(security_id, 'info'); var sSiteList=oInfo.folderUser+'Config'; // Create ActiveX Object var oWSH=external.max_activex(security_id,'WScript.Shell'); oWSH.run ('"'+sPlugin+'AdHunterEnhancer.exe" "' + sSiteList + '"', 0, true); var oAdHunter=external.max_getObj(security_id, 'AdHunter'); oAdHunter.reloadFilter('content'); // Clear Variables before Exit sPlugin=null; oInfo=null; sSiteList=null; oAdHunter=null; oWSH=null; security_id=null; }())