Small changes to import/export scripts.