altered gbd and gbs to accept '-M' argument, disabled by default