make the profiling run at a different context