Use template for config