What is this? Could you please add a comment? I can't work it out from the code.
Also for the next three variables. (Perhaps the next one is supposed to be, 'isscrubdone'?)