Issuing a certificate of occupancy, correcting the status of an existing building. Renewing a building permit