Set -e for shell script