Move config.scan to application