modified ScriptCollectorMethods.js for new ids