Add ability to disable profiling