add env support directly for manager