v3.25.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
May 31, 2025
May 31, 2024
Cash flows from operating activities:    
Net income (loss) $ (86,300) $ (250,320)
Adjustments to reconcile net income (loss) to cash provided by (used in) operating activities:    
Goodwill impairment charges   215,941
Other asset impairment charges 440 2,040
Depreciation and amortization 71,749 72,188
Inventory write-downs 92  
Deferred income taxes (1,257) (54,065)
Undistributed equity in earnings of joint ventures (867) (1,003)
Share-based compensation expense 7,974 6,197
(Gain) loss on disposal of assets, net (3,050) (511)
Other (gain) loss, net 1,387 639
Changes in assets and liabilities, net of acquisitions:    
Accounts receivable 6,742 (4,317)
Inventories 32,487 (46,750)
Income taxes 484 171
Prepaid expenses and other current assets (1,191) 9,896
Other long-term assets (5,505) (5,797)
Operating lease assets and liabilities 175 (440)
Accounts payable (3,645) 6,819
Accrued payroll and related liabilities (5,017) (12,330)
Other accrued liabilities 4,344 2,836
Environmental liabilities (1,005) (2,180)
Other long-term liabilities 1,192 1,418
Distributed equity in earnings of joint ventures 2,000 2,350
Net cash provided by (used in) operating activities 21,229 (57,218)
Cash flows from investing activities:    
Capital expenditures (33,653) (56,258)
Proceeds from insurance and sale of assets 4,581 2,829
Purchase of investments   (6,000)
Net cash used in investing activities (29,072) (59,429)
Cash flows from financing activities:    
Borrowings from long-term debt 611,836 579,500
Repayment of long-term debt (572,026) (421,414)
Payment of debt issuance costs (2,188)  
Taxes paid related to net share settlement of share-based payment awards (1,714) (5,282)
Distributions to noncontrolling interests (938) (738)
Dividends paid (16,488) (16,306)
Net cash provided by (used in) financing activities 18,482 135,760
Effect of exchange rate changes on cash 23 44
Net change in cash and cash equivalents 10,662 19,157
Cash and cash equivalents as of beginning of period 5,552 6,032
Cash and cash equivalents as of end of period 16,214 25,189
Cash paid (received) during the period for:    
Interest 24,605 16,793
Income taxes, net (27) 355
Schedule of noncash investing and financing transactions:    
Purchases of property, plant and equipment included in liabilities $ 3,449 $ 5,961