separated configs and setup header as a config