add --open flag and useragent header