deleted generate-index and show-metadata