updates to porc.py