optimize ./install.sh