Flow Control Through Metal Detector