Fixing config loading craziness