add chap05 scripts