Given an entity, a before event, an after event, and an attribute related to the entity, generate a sentence as output. Your sentence should show the changes in the attribute of the entity.

Ex Input:
entity: breathing
before: unregulated
after: regulated
attr: timing

Ex Output:
timing of breathing was unregulated before and regulated afterwards

Ex Input:
entity: compost
before: compacted
after: aerated
attr: state

Ex Output:
state of compost was compacted before and aerated afterwards

Ex Input:
entity: hardware
before: loose
after: attached to furniture
attr: location

Ex Output:
location of hardware was loose before and attached to furniture afterwards