Added PGM plotting script