Updates to Tcl scripting