script 1 and plot 1