move usr-config reading to scan()