set -e in task.sh