@thp: You should package portrait.py as a python library. This will allow for easier upgrades and usage.