shall remain available until expended. Railroad research and development For necessary expenses for railroad research and development, $41,600,000, to remain available until expended. Railroad rehabilitation and improvement financing program The Secretary of Transportation 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, $350,000,000, to remain available until expended: Provided , 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: Provided further , That the Secretary shall issue the Notice of Funding Opportunity for funds provided under this heading consistent with section 24911 of title 49, United States Code, no later than 30 days after enactment of this Act: Provided further , That the Secretary shall review all applications received in response to the Notice of Funding Opportunity required in the previous proviso: Provided further , That the Secretary shall announce the selection of projects to receive awards for the funds described in the previous two provisos no later than 180 days after enactment of this Act. Consolidated rail infrastructure and safety improvements For necessary expenses related to Consolidated Rail Infrastructure and Safety Improvements Grants, as authorized by section 22907 of title 49, United States Code, $350,000,000, to remain available until expended: Provided , That of the sums appropriated under this heading— (1) $40,000,000 shall be available for projects eligible under