plot scripts