Added ability to exclude tables