Rearrange install scripts