adding conditions to add css classes to body using the new section info