Change the image header detection to use substring location because of new complex headers coming out of DA