The salaries, office, traveling, and other necessary expenses of the local social services agency, including such amount as may be allowed in the discretion of the county board as compensation for cashing local social services agency checks, shall be paid by the county, and shall be subject to reimbursement out of state and federal funds as may be provided by law.