Add chain environment