added sketch-var automation to scripting