tring>KeyID</string>\n';
        vpnTypeIpsec += '      </dict>\n';

        onDemandRules = '';
        onDemandRules += '<key>OnDemandEnabled</key>\n';
        onDemandRules += '   <integer>{{onDemandEnabled}}</integer>\n';
        onDemandRules += '   {{onDemandRulesDict}}'


        onDemandRulesArr = [];
        
        var wifiDict = ''
        wifiDict += '        <dict>\n';
        wifiDict += '          <key>InterfaceTypeMatch</key>\n';
        wifiDict += '          <string>WiFi</string>\n';
    