Flexible Switches for grooved rails