script to make event yield table/plot