Changed main to index