is authorized to issue direct loans and loan guarantees pursuant to sections 501 through 504 of the Railroad Revitalization and Regulatory Reform Act of 1976 ( Public Law 94–210 ), as amended, such authority shall exist as long as any such direct loan or loan guarantee is outstanding. Federal-state partnership for state of good repair For necessary expenses related to Federal-State Partnership for State of Good Repair Grants as authorized by section 24911 of title 49, United States Code, $500,000,000, to remain available until expended: Provided , That the Notice of Funding Opportunity for funds provided under this heading shall be issued not later than 60 days after enactment of this Act: Provided further , That the Secretary may withhold up to one percent of the amount provided under this heading for the costs of award and project management oversight of grants carried out under section 24911 of title 49, United States Code. Consolidated rail infrastructure and safety improvements For necessary expenses related to Consolidated Rail Infrastructure and Safety Improvements Grants, as authorized by section 24407 of title 49, United States Code, $300,000,000, to remain available until expended, of which $150,000,000 shall be available for eligible projects under section 24407(c)(1) of title 49, United States Code, for the implementation of positive train control systems: Provided , That section 24405(f) of title 49, United States Code, shall not apply to projects for the implementation of positive train control systems otherwise eligible under section 24407(c)(1) of title 49, United States Code: Provided further , That amounts available under this heading for projects selected for commuter rail passenger transportation may be transferred by the Secretary, after selection, to the appropriate agencies to be administered in accordance with chapter 53 of title 49, United States Code: Provided further , That unobligated balances remaining after four years from the date of enactment may be used for any eligible project