Added index and type to the config file