AS-88 commit.sh: fixed bugs and typos