Started work on the scripting API