added stderr redirect environment variable.