Added more scripts for chapter 4