Added index to all directories