Added simple logging of command output