Comments added about optional zipping of output
Change the way the zipped file is retrieved