Added the ability to call bundle with env settings.