Add code to reset page numbers