Added tracing to loader utility