Update comments in the executable and factor out the make_header() function.