plotter script