moved plot script