Adding chapter 10, fixing build scripts