updated PiPano.py