changes to plot 3 plotscript