add main page support