Improved implementation, importing tables with progress tracking