Add enable_security_group=True and correct some pep8