Set the template