fix reset.sh so that curl doesn't error when output is redirected