create configs from templates