added user agent header to curl request