changes to how the maps is detected and loaded