updated plot scripts