fix build.py and add chapters in contents