welp, that set -e was dumb. get rid of that.