scripting tweak