(3) To visit all jails, whether county or municipal, and to make careful investigation as respects the drinking water, food, clothing and bedding supplied to prisoners and as to the ventilation, air space, heating and bathing facilities, drainage, etc., of these institutions; and, when any of said supplies are found to be inadequate in quantity or deficient in quality or any of said conditions insanitary, the county health officer shall make in writing a report thereof to the judge of probate and the county commission or the proper municipal authorities, as the case may be; whereupon, said judge of probate and county commission, or the proper municipal authorities, as the case may be, shall carry out whatever recommendations are made by the county health officer, and said health officer shall forward duplicates of his reports to the State Health Officer. In the event of failure of compliance with said recommendations, it shall be the duty of the proper state authorities to take appropriate action. He shall visit, as the need dictates, all places where the public gathers and the county courthouse and any other public building belonging to the county; should he find insanitary conditions existing, he shall report the same to the county commission, and the county commission shall remedy the insanitary conditions in accordance with the recommendations of the county health officer;