updated wq.py

the most recent update with print statements