Cleaning up the python scripts some and getting red black to work again