change index and main html pages