Move install out to script for the more scriptish bits.