plot scripts updated