added plot script