Hey Boyd, With regards to: "Perhaps you are installing your template with permissions that are too restrictive" You're totally right! This was causing my script to fail, thanks very much for pointing it out, everything is working perfectly now :) Now I've familiarized myself with the wiki on chmod hopefully I won't make that mistake again. Very pleased to get it working, for a moment it felt like I'd never get it right. Cheers. Jim.