Stop on error for scale.sh