Move log statement
Better chapter manager and improve logging