Federal protective service The revenues and collections of security fees credited to this account shall be available until expended for necessary expenses related to the protection of federally owned and leased buildings and for the operations of the Federal Protective Service. Procurement, construction, and improvements For necessary expenses of the National Protection and Programs Directorate for procurement, construction, and improvements, $335,033,000, to remain available until September 30, 2019. Research and development For necessary expenses of the National Protection and Programs Directorate for research and development, $11,126,000, to remain available until September 30, 2019. Office of health affairs Operations and Support For necessary expenses of the Office of Health Affairs for operations and support, $119,319,000, of which $13,520,000 shall remain available until September 30, 2019. Federal emergency management agency Operations and support For necessary expenses of the Federal Emergency Management Agency for operations and support, $1,027,135,000: Provided , That not to exceed $2,250 shall be for official reception and representation expenses. Procurement, construction, and improvements For necessary expenses of the Federal Emergency Management Agency for procurement, construction, and improvements, $76,578,000, to remain available until September 30, 2019. Federal assistance For activities of the Federal Emergency Management Agency for Federal assistance through grants, contracts, cooperative agreements, and other activities, $3,003,798,000, which shall be allocated as follows: (1) $467,000,000 for the State Homeland Security Grant Program under section 2004 of the Homeland Security Act of 2002 ( 6 U.S.C. 605 ), of which $55,000,000 shall be for Operation Stonegarden: Provided , That notwithstanding subsection (c)(4) of such section 2004, for fiscal year 2018, the Commonwealth of Puerto Rico shall make available to local and tribal governments amounts provided to the Commonwealth of Puerto Rico