Switched to threaded execution
Added progress bar