Made index name configurable