Added ability to reverse generate the variation number from the label.