new initialization scheme for running multiple envs at once.