modify mylog and sendcmdfile with result on screen