added 'cmd' parameter to allow arb python calls to be made once script is loaded. renamed 'scriptNode' to 'script' to match name in default gui scripteditor