Added Function to map Dirs