set env bundles early