PEP8 fixes, added port to config