Adds host flag, pep8 warnings fix, config margins