import/export offline states