Upgrade to python3