added dpi to save_plot and resave_plots also now immediately convert to percent for saving