Changing version tag logic