master switch for profiling