All penalties and costs received by the said state board of agriculture for violations of the said act of May 21, 1885, and of other acts now enacted or hereafter to be enacted, prohibiting or regulating the adulteration or imitation of butter, cheese or other dairy products, shall be appropriated by the said board to the payment only of the necessary expenses incurred by the said dairy and food commissioner and his assistants and agents in the investigation, discovery and prosecution of violations of the said act.
71 P.S. § 1235