Added passing of env dir location