Robust Shunting in a Dynamic Environment