exit 2 is for http failures apparently