change main to index