when calling scr or wfm set properly execution environment so log have proper location if agents use ycploging