It doesn't make sense to move the index block to the config panel. The original code is better.