new script to plot