update pamsite.py needs to move out of this repo