work on plot script