modified security_group.py