Added if DoOptimizations