needed to quote the ssid grep pattern
to prevent problems with non-alphanumeric characters