added the ability to make a sweeps inactive