Added logic about ssid in example.php