Whenever a permit is issued in reliance upon an affidavit or whenever the work may be hazardous or complex, the building official shall require that an architect or engineer shall supervise such work. In addition, said architect or engineer shall be responsible for conformity with the permit, provide copies of inspection reports as inspections are performed, and upon completion file with the building official a written affidavit that the work has been done in conformity with the plans and the technical codes. If such architect or engineer is not available, the owner shall employ a competent person or agency whose qualifications are reviewed by the building official.