Fixed the AppleEvent tools to actually work.