Having a non-script method of downloading the right native binary would be a good next step.

[deleted]

Yeah this seems manageable.