bugs in import script