main entry for scan process, run first on RQ queue