tweaks to import script