Fixing up the image optimization command