added install.sh and fixed json error