Finish writing out all the sections