add chap06 scripts