Improved extract script and sped up SSIS package