looks like an improvement, ensure proper versions accessed. feels a bit brittle if dir name is done differently but this is all just best-effort to play nicely with pre-existing installs so this is no more than something to be aware of imo if there are failures