Add script to drain out the done set.