converting footnotes to endnotes

How do I convert footnotes (that appear at the bottom of pages) to endnotes at the end of each chapter? I am also converting everything back to WORD at this point - too much complexity with Scrivener - the export process seems to be a mess. Any ideas? Thanks.