gk - adding a flag to control whether we should track invocations.  Default is true