Get a template working