Updated psims2WTH.py