Refine ScanEngine