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.

Example Input: entity: car
before: new
after: old
attr: age
Example Output: age of car was new before and old afterwards

Example Input: entity: the bowl
before: inside refrigerator
after: outside refrigerator
attr: location
Example Output: location of the bowl was inside the refrigerator before and outside the refrigerator afterwards

Example Input: entity: scroll bar
before: at top
after: lower down
attr: location
Example Output:
location of scroll bar was at the top before and lower down afterwards