Activating the batch handler