fixed repeating index. fixed ~/ shortcut. added dump to config.index