adjusted env var setting to append the current var if it was set