AAdded motion planning to the scripting API