Injecting header logic shortly