smoother scripting