Updated to Python3