Update chapter-joiner.sh