Added a switch to turn multiple minimizer on/off