update install.sh and simplify other features