A hybrid control scheme for freeway systems