Make mapDef a url; rename dir to mapDefs