[Console] Load console env correctly.