Update the batchcopy script