added HOME env variable in trace