Minor scripting work.