refactor install.sh script