add a plot script