slave scripting