removed puts from image and pdf extractors