In 2.0 each custom script is a service. In the Services tab click Create then select Custom Scripting Service for the type. You enter the script content in the Config tab.
In 2.0 each custom script is a service. In the Services tab click Create then select Custom Scripting Service for the type. You enter the script content in the Config tab.