Added environment init.