Add ability to get the output form the last command.