Added imageOptim for image optimizations