Update single-chapter.sh