Text this: Cost accounting for environmental safety