Initial upload of pt2.py
Logging v2