adding view_index_dir for dynamic config