Add after_header hook