more scripting work