Hugely improved the script.

There is now more configurability, it automatically detects the processor architecture, and also does not download the archive when it's not needed.