; and (4) the description provides assurances that the grant funds will be used in the most cost-effective manner. (e) Requirement of submission of application The Secretary may not make a grant under subsection (a) unless an application for the grant is submitted to the Secretary, the application contains the description of intended uses required under subsection (d), and the application is in such form, is made in such manner, and contains such agreements, assurances, and information as the Secretary determines to be necessary to carry out this section. (f) Technical assistance and provision of supplies and services in lieu of grant funds (1) Technical assistance The Secretary may provide training and technical assistance with respect to the planning, development, and operation of any program or service carried out pursuant to subsection (a). The Secretary may provide such technical assistance directly or through grants to, or contracts with, public or private entities. (2) Provision of supplies and services in lieu of grant funds (A) In general Upon the request of a State, Indian tribe, or tribal organization receiving a grant under subsection (a), the Secretary may, subject to subparagraph (B), provide supplies, equipment, and services for the purpose of aiding the State, Indian tribe, or tribal organization in carrying out such subsection and, for such purpose, may detail to the State, Indian tribe, or tribal organization any officer or employee of the Department of Health and Human Services. (B) Corresponding reduction in payments With respect to a request described in subparagraph (A), the Secretary shall reduce the amount of payments under the grant under subsection (a) to the State, Indian tribe, or tribal organization involved by an amount equal to the costs of detailing personnel (including pay, allowances, and travel expenses) and the fair market value of any supplies, equipment, or services provided by the Secretary. The Secretary shall, for the payment of expenses incurred in complying with such