aded insertRequire to optimizer config