Update imageOptimization.sh