Added so profiling can be toggled