refact install.sh