added plotting to PSA128 script