Capture all the output of the commands executed so that they can be included in the log that is emailed