improve install scripts