Install script

Ah I've missed @peterkc script, I guess we worked on it at the same time.

Close it if you prefer his version.