added config exists etc