New script to generate proper templates.