Function added to check if config file has changed since last run. Update data if config file has changed