Completely refactored the optimizer to use Imagemin