Replace main page