added qi.sh and boilerplate