Create fixmwstate.tcl