fixed security group CLI commands in script. They now actually change SG rules that reflect in the console