for index in range(0,len(devices_original)) :
device=devices_original[index]
if "image" not in device and "image name" not in device:
for index in range(0,len(devices_original)) :
device=devices_original[index]
if "image" not in device and "image name" not in device: