moving root_url and accept_headers into global variables