Add the privilege check for the sweep tool.