Added scripts for chapter 12