Enable optimization settings