loading units from unit metadata before sending them to the profiler