Added support for inherting/logging an environment variable, default is USER