update import script to pull from local database. WIP