Got attachements TOC and links working
Moved all attachements to end of document