Updated for version check