Fix breakage in scan6 tool for local scans