Hi @mkg , I got the script code from the .zip file from @ajp 's response from earlier in this thread.
Here is the link to the thread :
The robotics.zip file has a .script file with the code in it.