rename main.* to index.*