Update install.sh

major update with patches in files