use MsgHandler print output of program