An agricultural harvester with a flexible crop residue management system. A pivotal swath door (32) and displaceable windrow chute (52) are coordinated to be displaced between positions in which all of crop residue is spread laterally and another position in which straw in the crop residue is directed in a windrow by a windrow chute (52) and the chaff is directed laterally. The windrow chute (52) and swath door (32) are each pivotally mounted and a linkage is provided between the windrow chute (52) and swath door (32) in the form of bars extending in between rollers to displace the windrow chute (52) in coordination with the displacement of the swath door (32).