Update ps1.py

completed 10/3/13