Add option to invoke a command once for batched commands.