; and (2) carrying out coordinated restoration and protection activities, and providing for technical assistance, relating to the Tijuana River Valley. (d) Feasibility and technical assistance plan Not later than 360 days after the date of enactment of this Act, the Secretary shall develop a feasibility and technical assistance plan for updated wastewater infrastructure and flood preparedness in the Tijuana River Valley. (e) Grants and assistance (1) In general In carrying out the program, the Secretary shall provide grants and technical assistance to State and local governments, nonprofit organizations, and institutions of higher education, in both the United States and Mexico, to carry out the purposes of the program. (2) Criteria The Secretary, in consultation with the organizations described in subsection (b), shall develop criteria for providing grants and technical assistance under this subsection to ensure that such activities accomplish one or more of the purposes identified in subsection (c) and advance the implementation of priority actions or needs identified under the program. (f) Grant management services (1) In general The Secretary may enter into an agreement to manage the implementation of this section with the North American Development Bank, the Border Environment Cooperation Commission, or a similar organization that offers grant management services. (2) Funding If the Secretary enters into an agreement under paragraph (1), the organization selected shall— (A) for each fiscal year, receive amounts to carry out this section in an advance payment of the entire amount on October 1 of that fiscal year or as soon as practicable thereafter; (B) invest and reinvest those amounts for the benefit of the program