Adding changes to plot and pdf versions