Whenever, upon such inspection, it shall be found that any such hotel or restaurant is not equipped or operated in the manner and under the conditions required by the provisions of this article, the director of health shall notify the owner, manager or agent in charge of such hotel or restaurant of such changes or alterations as, in the judgment of the director, may be necessary to effect a complete compliance with said provisions. Such owner, manager or agent shall thereupon make such alterations or changes as may be necessary to put such buildings and premises in a condition, and operate it in a manner, that will fully comply with the requirements of this article: Provided, That due time after receiving such notice shall be allowed for conforming to the requirements thereof, which time shall be specified in the notice. Should the changes or alterations directed by such notice not be made in the time specified therein, the said director shall proceed against the person or persons in default in any court having jurisdiction to enforce the provisions of this article against him or them. Every person, firm or corporation which shall fail or refuse to comply with the provisions of this section shall be guilty of a misdemeanor, and, upon conviction thereof, shall be fined $5 for each and every day such failure or refusal may continue. If such failure or refusal shall continue for thirty days after the time specified in the notice from the director for conforming to the requirements thereof, the director may proceed in the circuit court of the county wherein such hotel or restaurant is located, for an order closing it. After such order is issued, the building or property shall not again be used as a hotel or restaurant until a certificate or permit therefor shall have been issued by the director, and any disobedience of such order may be punished as other contempts of court. Reasonable notice shall be given of the application for such order.