add logging for runCmd