change profiler to be externally accessible