adjustments to import script