Update scripting engine to Python 3 or greater