Set correct accept header when querying; some offset stuff