fixes for commandline script on python3
give credit where credit is due

sync version in setup and code