the Administrator of the Federal Railroad Administration. (3) Application of law The provisions of section 24312 of title 49, United States Code, shall apply to entities receiving a grant under this section. (e) Government share of costs (1) In general A grant, contract, or other agreement for a capital project under this section shall be for not more than 80 percent of the project cost, as determined by the Secretary. The non-Federal share of the project cost shall be provided in cash, equipment, or supplies. (2) Waiver The Secretary may waive, in whole or in part, the non-Federal share. (f) Limitation (1) In general Project costs under this section shall be limited to the scope of damage caused by the respective emergency. (2) Determination In the case of a project that included damage preexisting the respective emergency, the Administrator shall make a determination on the amount or percentage of the damages preexisting such emergency. (g) Definitions In this section the following definitions shall apply: (1) Emergency The term emergency — (A) has the meaning given such term in section 5324 of title 49, United States Code