update to how subdirectories are created