Header controller