Only importing tables when needed