replaced use of $taskConfig with KBatchBase::$taskConfig