add logs for command execution