Oh, sorry, I just checked the code and found one line which I forgot to remove. Open Add-CertificateTemplateAcl.ps1 and delete the following line:
if ($Host.Name -eq"ServerRemoteHost") {throw New-Object NotSupportedException}