updates to plot and script