Import flow switch: A reliable controller in complex fluid environments