Fixed some issues in install.sh and minectl