index page save contents