append index to chapter file; add content for terms of use