With the advice of the secretary of the department of health, local boards of health are hereby authorized to waive applicable sections of local plumbing and/or building codes that might prohibit the use of an alternative method for correcting a failure.