updated for PyKona
GitHub version synced with BitBucket