Parameterized TRACE_ROOT

so it can be consistently configured through environment variable.