Scan frequency to config file