adding logic to recreate kfs indexes and synonyms