Whenever a permit is issued in reliance upon an affidavit or whenever the work to be covered by a permit involves installations under conditions that, in the opinion of the building official, are hazardous or complex, the building official shall require that an architect or engineer shall supervise such work. In addition, they shall be responsible for conformity with the permit, provide copies of inspection reports, as inspections are performed, and upon completion make and file with the building official written affidavits that the work has been done in conformity with the reviewed plans and with the structural provisions of the technical codes. In the event such architect or engineer is not available, the owner shall employ in his stead a competent person or agency whose qualifications are reviewed by the building official.