adding method to save the plot to png; does not work for now; screw it .. running the old method on local machine with data file copied to save time