Added template based config