Update ps7.py