; and (E) in paragraph (9) by inserting or commuter rail passenger transportation (as such term is defined in section 24102) after between intercity rail passenger transportation ; (3) in subsection (e) by striking paragraph (1) and inserting the following: (1) In general In selecting a recipient of a grant for an eligible project, the Secretary shall give preference to— (A) projects that will maximize the net benefits of the funds made available for use under this section, considering the cost-benefit analysis of the proposed project, including anticipated public benefits relative to the costs of the proposed project and factoring in the other considerations described in paragraph (2); and (B) projects that benefit a station that— (i) serves Amtrak and commuter rail; (ii) is listed amongst the 25 stations with highest ridership in the most recent Amtrak Company Profile; and (iii) has support from both Amtrak and the provider of commuter rail passenger transportation servicing the station. ; (4) in subsection (g)(1) by striking 25 percent and inserting 15 percent ; (5) in subsection (l) by striking Secretary shall and inserting Secretary may ; (6) by redesignating subsections (i), (j), (k), and (l) as subsections (k), (l), (m), and (n), respectively