Committing chapter 3 scripts
Minor cleanup