added scm config
migrate to new scan functionality and flags