v3.22.0.1
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Oct. 31, 2021
Oct. 31, 2020
Net income (loss) $ 1,183 $ (12,290)    
Adjustments to reconcile net income (loss) to net cash provided by operating activities:        
Depreciation 8,341 6,925    
Deferred income taxes (175) (2,855)    
Amortization of deferred financing costs 458 961    
Amortization of intangible assets 5,739 6,913    
Stock-based compensation expense 1,480 672    
Change in fair value of warrant liabilities (0) (0)    
Loss on extinguishment of debt 0 15,510    
Net gain on the sale of property, plant and equipment (444) (593)    
Net changes in operating assets and liabilities:        
Trade receivables, net 676 5,656    
Inventory (265) (10)    
Prepaid expenses and other current assets (6,232) (4,287)    
Income taxes payable, net 80 (512)    
Accounts payable (3,460) (1,157)    
Accrued payroll, accrued expenses and other current liabilities 5,807 (2,353)    
Net cash provided by operating activities 13,188 12,580    
Cash flows from investing activities:        
Purchases of property, plant and equipment (35,431) (9,434)    
Proceeds from sale of property, plant and equipment 1,950 1,894    
Purchases of intangible assets (1,050) 0    
Net cash used in investing activities (34,531) (7,540)    
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 92,164 80,945    
Payments on revolving loan (76,928) (75,122)    
Payment of debt issuance costs 0 (8,464)    
Payments on capital lease obligations (25) (23)    
Purchase of treasury stock (534) (330)    
Net cash provided by (used in) financing activities 14,677 (9,200)    
Effect of foreign currency exchange rate on cash 155 (304)    
Net decrease in cash and cash equivalents (6,511) (4,463)    
Cash and cash equivalents:        
Beginning of period 9,298 6,736 $ 6,736  
End of period $ 2,787 $ 2,273 9,298 $ 6,736
Supplemental cash flow information:        
Cash paid for interest     118 5,890
Cash paid for income taxes     50 614
Non-cash investing and financing activities:        
Equipment purchases included in accrued expenses and accounts payable     $ 2,326 $ 781

Source