Long-Term Debt | 3. Long-Term Debt Amended, Restated and Consolidated Revolving Credit, Term Loan and Security Agreement On October 20, 2015 (the “Closing Date”), URC, United Refining Company of Pennsylvania, Kiantone Pipeline Corporation (“Kiantone”), United Refining Company of New York Inc., United Biofuels, Inc., Country Fair, Inc. and Kwik-Fill Corporation (collectively, the “Borrowers”) entered into an Amended, Restated and Consolidated Revolving Credit, Term Loan and Security Agreement (“Credit Agreement”) with a group of lenders led by PNC Bank, National Association, as Administrative Agent (the “Agent”), and PNC Capital Markets LLC, as Sole Lead Arranger and Bookrunner. The Credit Agreement amends and restates the Amended and Restated Credit Agreement, dated May 18, 2011 and last amended June 18, 2013, by and between the Company and certain subsidiaries and PNC Bank, National Association, as Administrative Agent (the “Existing Credit Facility”). The Credit Agreement will terminate on October 19, 2020 (the “Expiration Date”). Until the Expiration Date, the Company may borrow on the New Revolving Credit Facility (as defined below) on a borrowing base formula set forth in the Credit Agreement. Pursuant to the Credit Agreement, the Company increased its existing senior secured revolving credit facility from $175,000,000 to $225,000,000. The New Revolving Credit Facility may be increased by an amount not to exceed $50,000,000 without additional approval from the lenders named in the Credit Agreement if existing lenders agree to increase their commitments or additional lenders commit to fund such increase. Interest under the New Revolving Credit Facility is calculated as follows: (a) for domestic base rate borrowings, at (i) the greater of the Agent’s prime rate, federal funds rate plus .5% or the daily LIBOR rate plus 1%, plus (ii) an applicable margin of 1.25% to 1.75%, and (b) for euro-rate borrowings, at the LIBOR rate plus an applicable margin of 2.25% to 2.75%. The applicable margin will vary depending on a formula calculating the Company’s average unused availability under the facility. As of November 30, 2016 and August 31, 2016, there were no base rate or euro-rate borrowings outstanding under the facility. Letters of credit totaling $8,753,000 were outstanding at November 30, 2016 and August 31, 2016. In addition, pursuant to the Credit Agreement, the Company entered into a term loan in the amount of $250,000,000, which was made in a single drawing on the Closing Date (“Term Loan” and, together with the New Revolving Credit Facility, the “Credit Obligations”). Under the Term Loan, interest is calculated as follows: (a) for domestic rate borrowings, at (i) the greater of the Agent’s prime rate, federal funds rate plus .5% or the daily LIBOR rate plus 1%, plus (ii) an applicable margin of 1.75% to 2.25%, and (b) for euro-rate borrowings, at the LIBOR rate plus an applicable margin of 2.75% to 3.25%. The applicable margin will vary depending on a formula calculating the Company’s average unused availability under the facility. The Term Loan is prepayable in whole or in part at any time without premium or penalty. The Term Loan shall be paid in full on or prior to the Expiration Date and shall be paid in equal quarterly amounts based on a ten-year straight line amortization schedule. The Credit Obligations are secured by a first priority security interest in certain cash accounts, accounts receivable, inventory, the refinery, including a related tank farm, and the capital stock of Kiantone. At such time as the Term Loan is repaid in full, and provided no event of default exists, the security interest in the refinery and the equity interest in Kiantone shall be released. The Credit Agreement requires minimum undrawn availability of $15,000,000 at all times prior to the repayment of the Term Loan and the greater of 12.5% of the maximum New Revolving Credit Facility or $25,000,000 after the repayment of the Term Loan. The Company is also required to maintain a consolidated net worth of no less than $100,000,000. The Credit Agreement includes customary mandatory prepayment provisions, including in connection with non-ordinary course asset sales, equity issuances and the incurrence of additional debt. Unless assets sold in non-ordinary course transactions were included in the borrowing base for the New Revolving Credit Facility, mandatory prepayments shall be applied first to the repayment of the Term Loan and then the New Revolving Credit Facility. The Credit Agreement also includes customary affirmative and negative covenants, including, among other things, covenants related to the fixed charge coverage ratio, payment of fees, conduct of business, maintenance of existence and assets, payment of indebtedness and the incurrence of additional indebtedness, intercompany obligations, affiliate transactions, amendments to organizational documents, and financial statements. The proceeds of the Credit Agreement were used to (i) repay and satisfy in full those certain 10.500% senior secured notes due 2018 (the “Senior Secured Notes due 2018”), (ii) provide for the Company’s general corporate needs, including working capital requirements and capital expenditures and (iii) pay the fees and expenses associated with the Credit Agreement. In connection with the redemption of all its Senior Secured Notes due 2018, the Company recorded a loss of $19,316,000 on the early extinguishment of debt consisting of a redemption premium of $7,009,000, a consent payment of $6,536,000, a write-off of unamortized net debt discount of $3,600,000 and a write-off of deferred finance costs of $2,171,000. Term Loan – due 2022 On December 9, 2015, United Refining Company of New York Inc. (as Borrower) and United Refining Company of Pennsylvania (as Fee Owner), entered into a Loan Agreement with a bank, in the amount of $50,000,000 which matures on December 9, 2022. Pursuant to the Loan Agreement, interest is calculated as follows: (a) for LIBOR Loans, at either the LIBOR plus 2.50% or the Prime Rate, (b) for Reference Rate Loans, the Prime Rate and (c) for Fixed Rate Loans, at the Fixed Rate. Under the terms of the agreement, the Company will make 84 monthly principal installments of approximately $129,000 with the remaining principal balance due on December 9, 2022. The loan is secured by a first lien mortgage on certain convenience store units owned by United Refining Company of Pennsylvania and contains various covenants applicable to the Borrower, which include, among others, maintaining a debt service coverage ratio. Payments due under a master lease between URC and the Borrower are guaranteed by the Company. Proceeds of the loan were used for general corporate purposes of the Company. Term Loan – due 2023 On October 20, 2016, Kwik-Fil, Inc. (as Borrower) and United Refining Company of Pennsylvania (as Fee Owner), entered into a loan agreement with a bank in the amount of $25,000,000 which matures on October 20, 2023. Pursuant to the loan agreement, interest is calculated as follows: (a) for LIBOR Loans, at either the LIBOR plus 2.50% or the Prime Rate, (b) for Reference Rate Loans, the Prime Rate and (c) for Fixed Rate Loans, at the greater of the Fixed Rate or 4.25% per annum. Under the terms of the agreement, the Company will make 83 monthly principal installments of approximately $83,000 with the remaining principal balance due on October 20, 2023. The loan is secured by a first lien mortgage on certain convenience store units owned by United Refining Company of Pennsylvania and contains various covenants applicable to the Borrower, which include, among others, maintaining a debt service coverage ratio. Payments due under a master lease between URC and the Borrower are guaranteed by the Company. Proceeds of the loan were used for general corporate purposes of the Company. A summary of long-term debt is as follows: November 30, August 31, (in thousands) Long-term debt: PNC term loan, LIBOR rate of 3.29%, due 2020 $ 225,000 $ 231,250 Term loan, LIBOR rate of 3.03%, due 2022 48,714 49,100 Term loan, LIBOR rate of 3.06%, due 2023 25,000 — Other long-term debt 6,911 7,327 305,625 287,677 Less: Unamortized debt issuance costs 5,175 5,150 Current installments of long-term debt 28,825 28,029 Total long-term debt, less current installments $ 271,625 $ 254,498 |