Improved script.  Added png version of plot