check for config files before starting