added the plot script