forgot to add the crucial part for the scrubbing flag to work