Adding a write_header