How to customize the templates