XML 33 R8.htm IDEA: XBRL DOCUMENT v3.24.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Cash flows from operating activities:    
Net income (loss) [1] $ (75,722) $ 70,079
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization [1] 37,872 37,595
Write-off of deferred loan costs [1] 0 2,748
Gain on sale of Quest Integrity [1] 0 (203,351)
Loss on debt extinguishment [1] 1,585 17,719
Write-off of software cost [1] 629 0
Amortization of debt issuance costs and debt discounts [1] 18,725 35,509
Paid-in-kind interest [1] 14,526 18,227
Allowance for credit losses [1] 267 402
Foreign currency loss [1] 734 1,698
Deferred income taxes [1] 906 653
Gain on asset disposal [1] (231) (4,721)
Non-cash compensation cost [1] 1,590 247
Other, net [1] (4,413) (4,569)
Changes in operating assets and liabilities:    
Accounts receivable [1] 7,335 (33,483)
Inventory [1] (2,058) (1,655)
Prepaid expenses and other current assets [1] (7,527) (3,201)
Accounts payable [1] 2,818 (13,291)
Other accrued liabilities [1] (6,877) 15,195
Income taxes [1] (1,145) 6,264
Net cash used in operating activities [1] (10,986) (57,935)
Cash flows from investing activities:    
Capital expenditures [1] (10,430) (24,690)
Net proceeds from sale of discontinued operations [1] 0 260,841
Proceeds from disposal of assets [1] 414 7,205
Net cash (used in) provided by investing activities [1] (10,016) 243,356
Cash flows from financing activities:    
Borrowings under 2020 ABL Facility, gross [1] 0 10,300
Payments under 2020 ABL Facility, gross [1] 0 (72,300)
Borrowings under Corre Incremental Term Loan [1] 47,500 0
Payments under Corre Incremental Term Loan [1] (319) 0
Repayments of Convertible Debt [1] (41,161) 0
Payments for debt issuance costs [1] (9,102) (13,709)
Issuance of common stock, net of issuance costs [1] 0 9,639
Taxes paid related to net share settlement of share-based awards [1] 0 16
Other [1] (1,047) (887)
Net cash used in financing activities [1] (1,899) (191,971)
Effect of exchange rate changes on cash [1] 253 (690)
Net decrease in cash and cash equivalents [1] (22,648) (7,240)
Cash and cash equivalents at beginning of period [1] 58,075 65,315
Cash and cash equivalents at end of period [1] 35,427 58,075
Cash paid (refunded) during the year for:    
Interest [1] 19,503 29,187
Income taxes [1] 3,921 (553)
Revolving Credit loans    
Cash flows from financing activities:    
Borrowings under 2022 ABL Credit Facility, gross [1] 39,792 108,638
Payments under 2022 ABL Credit Facility, gross [1] (26,293) (43,722)
Delayed Draw Term Loan    
Cash flows from financing activities:    
Borrowings under Corre Delayed Draw Term Loan, gross [1] 0 35,000
ME/RE Loans    
Cash flows from financing activities:    
Borrowings under Corre Delayed Draw Term Loan, gross [1] 27,398 0
Payments under ME/RE Loans [1] (1,575) 0
APSC Term Loan    
Cash flows from financing activities:    
Payments under APSC Term Loan, gross [1] $ (37,092) $ (224,946)
[1] Consolidated statement of cash flows for the year ended December 31, 2022 includes cash flows from discontinued operations. See Note 2.