Flesh out output header code
Oops typos