; and (B) $3,000,000 may be used for administrative expenses relating to loan guarantee commitments under the program. (8) For expenses necessary to provide assistance to small shipyards and for maritime training programs under section 54101 of title 46, United States Code, $40,000,000, which shall remain available until expended. (9) For expenses necessary to implement the Port and Intermodal Improvement Program, $600,000,000, except that no funds shall be used for a grant award to purchase fully automated cargo handling equipment that is remotely operated or remotely monitored with or without the exercise of human intervention or control, if the Secretary determines such equipment would result in a net loss of jobs that relate to the movement of goods through a port and its intermodal connections. 8512. Maritime Security Program (a) Award of operating agreements Section 53103 of title 46, United States Code, is amended by striking 2025 each place it appears and inserting 2035 . (b) Effectiveness of operating agreements Section 53104(a) of title 46, United States Code, is amended by striking 2025 and inserting 2035 . (c) Payments Section 53106(a)(1) of title 46, United States Code, is amended— (1) in subparagraph (B), by striking and after the semicolon; (2) in subparagraph (C), by striking $3,700,000 for each of fiscal years 2022, 2023, 2024, and 2025. and inserting $5,233,463 for each of fiscal years 2022, 2023, 2024, and 2025; and ; and (3) by adding at the end the following: (D) $5,233,463 for each of fiscal years 2026 through 2035. . (d) Authorization of appropriations Section 53111 of title 46, United States Code, is amended— (1) in paragraph (2), by striking and after the semicolon; (2) in paragraph (3), by striking $222,000,000 for each fiscal year thereafter through fiscal year 2025. and inserting $314,007,780 for each of fiscal years 2022, 2023, 2024, and 2025; and