Added scripted event object

Add what objects are available in the scripting environment
Fix trace in script to provide a name