add environment stack