Changed to use Python 3.x