Add current env to child env, if child env is specified