Modified the python scripts so that they can run on python2 and python3
Merge pull request #76 from jzeeck/python_script_fix

Modified the python scripts so that they can run on python2 and python3