Customer specific chapter overriding was not working. To fix this I had to uncomment the copying chapter overrides and had to move the add_customer_chapters function call before calling all generate_xxx functions.