Updated version checking