Adds `--no-advanced`/`noAdvanced` switch to disable advanced optimizations.