Rewrite install.sh