First implementation of environment support (NOW-474)