You should fix cs, $name, $apiKey and $licenseKey should be aligned with $xmit