Added command line opt for updateMask threshhold