The code in reference has two ways of showing this whatever information, one from the command line and another formating HTML code that will be emailed if you run the code from terminal/command line. But if you run this code from the command line the HTML code will shows and it will be html tags everywhere. And seeing the code for the command line will be difficult to cause of that. All I would like is to hide the HTML if I am running this code from the command line so the HTML code doesn't interfere with command line stuff.