rest version of the cleanup tool