Added config file checks.