added cmd_md5 to monitor the output of a command