I want to produce two versions of a book, one with footnotes and the other with endnotes. I'm using the endnote package to convert the footnotes to endnotes to produce the second version. But I need to alter the text on the heading and get the headers on each page to look the same for the endnotes as the other chapters in the book. For example, currently the heading says "Notes", say I wish to change this to "Myheading which is underlined" and then have "something else" appear in the headers of the pages on which the endnotes themselves appear. Is there a simple way to do this?