A certificate of occupancy issued by the building inspector is required in advance of occupancy or use of: 10.5.1 A building hereafter erected, altered or moved; 10.5.2 A change in use of any building or land; 10.5.3 Each nonconforming use created by the passage of and subsequent amendments to this ordinance [appendix]. Such nonconforming use shall obtain a certificate of occupancy within 30 days of the date of said passage or amendments; 10.5.4 Upon payment of any required fees, the building inspector shall sign and issue a certificate of occupancy if the proposed use of land or building, as stated on the certificate of occupancy and signed by the owner or his appointed agent, is found to conform to the applicable provisions of this ordinance [appendix], and if the building, as finally constructed, complies with the plans submitted for the building permit.