Added ability to download plot.