use global USERAGENT instead of having to edit everywhere.  Also, bump to v4