Added option to exclude tables or features