Checking output

New method for checking output has been added see help for current
usage.