Added --localscan ability