added config option for scans_to_get
added config optoin for scans_to_get