added language setting to curl options