Update plws.py