XML 21 R8.htm IDEA: XBRL DOCUMENT v3.23.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Feb. 28, 2023
Feb. 28, 2022
Cash flows from operating activities:    
Net (loss) income $ (13,284) $ 85,441
Adjustments to reconcile net (loss) income to cash provided by operating activities:    
Asset impairment charges 4,000  
Exit-related asset impairments 143  
Depreciation and amortization 43,850 35,816
Inventory write-downs 575 304
Deferred income taxes (6,337) 13,988
Undistributed equity in earnings of joint ventures (1,101) (827)
Share-based compensation expense 5,144 9,231
Loss on disposal of assets, net 16 1,345
Unrealized foreign exchange loss, net 85 121
Credit loss, net 195 16
Changes in assets and liabilities, net of acquisitions:    
Accounts receivable (13,914) (47,762)
Inventories 33,834 (52,624)
Income taxes (4,783) (697)
Prepaid expenses and other current assets 9,758 1,309
Other long-term assets (1,389) (651)
Operating lease assets and liabilities 232 (903)
Accounts payable 12,245 11,762
Accrued payroll and related liabilities (33,421) (39,711)
Other accrued liabilities (7,177) 7,583
Environmental liabilities (4,914) (12,482)
Other long-term liabilities 1,935 455
Distributed equity in earnings of joint ventures   1,000
Net cash provided by operating activities 25,692 12,714
Cash flows from investing activities:    
Capital expenditures (74,511) (69,409)
Acquisitions, net of acquired cash (26,902) (113,939)
Proceeds from insurance and sale of assets 3,026 11,129
Deposit on land option   (80)
Net cash used in investing activities (98,387) (172,299)
Cash flows from financing activities:    
Borrowings from long-term debt 333,242 405,094
Repayment of long-term debt (274,036) (225,395)
Payment of debt issuance costs (156)  
Repurchase of Class A common stock   (7,865)
Taxes paid related to net share settlement of share-based payment awards (6,809) (9,577)
Distributions to noncontrolling interests (1,155) (1,785)
Dividends paid (10,671) (10,841)
Net cash provided by financing activities 40,415 149,631
Effect of exchange rate changes on cash (64) (41)
Net decrease in cash and cash equivalents (32,344) (9,995)
Cash and cash equivalents as of beginning of period 43,803 27,818
Cash and cash equivalents as of end of period 11,459 17,823
Cash paid during the period for:    
Interest 7,339 1,748
Income taxes, net 4,332 9,829
Schedule of noncash investing and financing transactions:    
Purchases of property, plant and equipment included in liabilities $ 13,815 $ 21,828