add threading to heroku_import funciton