add settings in template