trying to fix the image_type_gen script