Tweaks to use existing security group properly, and to handle opening ports that are already open