rewrote sections to get savefig to output in report