Main page rebuild