; equipment; logistics support, supplies, and services; stipends; infrastructure repair and renovation; and sustainment, to foreign security forces, irregular forces, groups, or individuals participating, or preparing to participate in activities to counter the Islamic State of Iraq and Syria, and their affiliated or associated groups: Provided further , That these funds may be used in such amounts as the Secretary of Defense may determine to enhance the border security of nations adjacent to conflict areas including Jordan, Lebanon, Egypt, and Tunisia resulting from actions of the Islamic State of Iraq and Syria: Provided further , That amounts made available under this heading shall be available to provide assistance only for activities in a country designated by the Secretary of Defense, in coordination with the Secretary of State, as having a security mission to counter the Islamic State of Iraq and Syria, and following written notification to the congressional defense committees of such designation: Provided further , That the Secretary of Defense shall ensure that prior to providing assistance to elements of any forces or individuals, such elements or individuals are appropriately vetted, including at a minimum, assessing such elements for associations with terrorist groups or groups associated with the Government of Iran