Add index page hook