Updated the tag generator. [closes #5]