Adding version check