More robust create-bundle.sh script for single species