(b) The state, or any agency of the state, or any county or municipality may, designate the commissioner as its agent for the purposes set forth in subsection (a) of this section and the agency, county or municipality may enter into an agreement with the commissioner prescribing the terms and conditions of the agency in accordance with federal laws and regulations, and with the laws of this state. The moneys paid over by the United States government shall be retained by the state or paid over to the counties or municipalities under the terms and conditions imposed by the United States government in making the grants.
(c) All moneys accepted for disbursement pursuant to this section shall be deposited by the secretary or the commissioner in the state treasury, and unless otherwise prescribed by the authority from which the money is received, kept in separate funds, designated according to the purpose for which the moneys were made available, and held by the state in trust for those purposes. All moneys are hereby appropriated for the purposes for which the moneys were made available and shall be expended in accordance with federal laws and regulations and with the laws of this state. The commissioner may, whether acting for the state or one of its agencies, or as the agency for any county or municipality, when requested by the United States government or any agency or department of the United States government, or when requested by the state, a state agency, or any county or municipality for which the moneys have been made available, disburse the moneys for the designated purposes, but this shall not include any other authorized method of disbursement.