continued working on install.sh, but will try to implement it in JavaScript