Python3 fix for default.py