Updated to use profiler 0.6