Rewrite install.sh.