changed some stuff in wpchgr.py