Added scripts for chapter 5