move headers to config