ok. Let's try getting round what I think permission problems are with by reading the template out in powershell.