finish batching.sh