added config_exists()