This doesn't need to be a nested conditional, merge it with the outer if, after removing the version check.