The penalty collected under section 21 and the amount collected under section 96 shall be credited to such fund as may be prescribed.