add a few headers and fix the url