add tcl script to run simulation