added support for activeViewsEnvOverride_ in getActiveViews()