To start with - you have a huge number of prints. Make one huge multi-line string constant, preferably - in separate module
LET_ME_OVERWHELM_YOU = ''' Starting Firewall Conversion Current version is {version} ..... '''And then print it with one statement
print(LET_ME_OVERWHELM_YOU.format(version=VERSION))(constant name - well, you overwhelmed me )
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.