Draft impl of doint.sh script