adding plot script