Change Index to main