Better loading of config