Refine scan service behavior