Fixes to initial security groups
Fixing security groups in upgrade script