Implemented insertion of environment.
Merge remote-tracking branch 'origin/master'