Added pointer events to scripting and hooked up the script manager.