Before occupying a new building, or changing the use of part or all of an existing building, or increasing the number of dwelling units on the lot, or using a lot now vacant or used for agriculture for any other purpose, or changing the use of a lot from one nonagricultural purpose to another, the owner must secure an occupancy permit from the Building Inspector.