Updated the tag generator to make lowercase directory names.