update dotinstall.sh and add mkdirs.sh