Added check for existing SSID