added plot script