added script to plot data