major updates to test tcl script