Annual report pursuant to Section 13 and 15(d)

Consolidated Statements of Cash Flows

v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Net income (loss) $ (28,676) $ 15,073
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Non-cash operating lease expense 3,913 0
Right-of-use asset amortization for finance lease 22 0
Foreign currency adjustments 2,091 0
Depreciation 34,912 28,795
Deferred income taxes 5,205 2,547
Amortization of deferred financing costs 1,852 2,335
Amortization of intangible assets 22,528 27,111
Stock-based compensation expense 5,034 6,591
Change in fair value of warrant liabilities (9,894) 9,894
Loss on extinguishment of debt 0 15,510
Net gain on the sale of property, plant and equipment (2,759) (1,178)
Net changes in operating assets and liabilities:    
Trade receivables, net (15,310) (4,172)
Inventory (870) (200)
Prepaid expenses and other assets (550) (1,771)
Operating lease liability 3,728 0
Income taxes payable, net (324) 497
Accounts payable (3,039) 3,972
Accrued payroll, accrued expenses and other liabilities 8,936 977
Net cash provided by operating activities 76,695 75,835
Cash flows from investing activities:    
Purchases of property, plant and equipment (101,932) (62,792)
Proceeds from sale of property, plant and equipment 10,023 6,977
Purchases of intangible assets (1,450) (750)
Acquisition of net assets - Coastal acquisition (30,762) 0
Net cash used in investing activities (124,121) (56,565)
Cash flows from financing activities:    
Proceeds on long term debt 0 375,000
Payments on long term debt 0 (381,206)
Proceeds on revolving loan 377,375 280,034
Payments on revolving loan (326,945) (280,891)
Payment of debt issuance costs (290) (8,464)
Payments on finance lease obligations (103) (97)
Purchase of treasury stock (4,148) (330)
Proceeds on exercise of options 89 0
Net cash provided by (used in) financing activities 45,978 (15,954)
Effect of foreign currency exchange rate on cash (368) (754)
Net increase (decrease) in cash and cash equivalents (1,816) 2,562
Cash and cash equivalents:    
Beginning of period 9,298 6,736
End of period 7,482 9,298
Supplemental cash flow information:    
Cash paid for interest 23,682 17,371
Cash paid for income taxes 408 994
Non-cash investing and financing activities:    
Equipment purchases included in accrued expenses and accounts payable 8,882 7,135
Operating lease right-of-use assets recorded upon adoption of ASC 842 18,625 0
Operating lease liabilities recorded upon adoption of ASC 842 18,593 0
Operating lease assets obtained in exchange for new operating lease liabilities $ 10,089 $ 0