added section(s) for custom headers and footers to the settings file generation sub-routine