Update existing DreamFactory 1.9.4 to 2.0?

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.