Update run.sh for chunking