added output for remote command output too