loop import script