Added checking if a config exists