Set Up and Gather Trace Data in CUE