fix import script to use config