added switch to turn off bsub