Fixing import script when one ES server is present