make combine.sh more safe