adding config and fixing corrupt index file