Added downcase to tag creation and rearranged item and tag creation order