Adding plot script