updated chapter 2 scripts