patch import script