; 132 Stat. 4490) and each provision of law amended by that Act (and for mandatory programs at such funding levels), as in effect on September 30, 2023, shall continue, and the authorities shall be carried out, until the later of— (1) September 30, 2024; or (2) the date specified in the provision of that Act or the provision of law amended by that Act. (b) Discretionary programs Programs carried out using the authorities described in subsection (a) that are funded by discretionary appropriations (as defined in section 250(c) of the Balanced Budget and Emergency Deficit Control Act of 1985 ( 2 U.S.C. 900(c) )) shall be subject to the availability of appropriations. (c) Commodity programs (1) In general The provisions of law applicable to a covered commodity (as defined in section 1111 of the Agricultural Act of 2014 ( 7 U.S.C. 9011 )), a loan commodity (as defined in section 1201 of that Act ( 7 U.S.C. 9031 )), sugarcane, or sugar beets for the 2023 crop year pursuant to title I of that Act ( 7 U.S.C. 9011 et seq. ) and each amendment made by subtitle C of title I of the Agriculture Improvement Act of 2018 ( Public Law 115–334 ; 132 Stat. 4511) shall be applicable to the 2024 crop year for that covered commodity, loan commodity, sugarcane, or sugar beets. (2) Dairy (A) Base production history adjustment for participating dairy operations with production of less than 5,000,000 pounds Section 1405(a) of the Agricultural Act of 2014 ( 7 U.S.C. 9055(a) ) is amended— (i) in paragraph (1), by inserting paragraph (4) and before subsection (b) ; and (ii) by adding at the end the following: (4) Base production history adjustment for participating dairy operations with production of less than 5,000,000 pounds (A) In general If the amount determined under paragraph (1) is less than 5,000,000 pounds, the production history of the dairy operation for dairy margin coverage shall be equal to— (i) the amount determined under paragraph (1)