added some comments to make_plots.R