Updated compare versions system based on gsdstr code