format code for install.sh