Allow profiling to be triggered through query string