Made config files smarter