updates for scripting