add comment function to batch_run