better handling of tclsh