Updated and fixed the mapdriver files