fix getting hostname
modify report: add task_id, modify CSV headers, time format