Fixes #8.  Move the map call to above the directory to allow users the chance to set permissions and users on directories.