Rewriting plotscript

Reproduced first plot
Plotscript update