Add table of contents to settings file