Done ADVANCED_OPTIMIZATION integration