added header and user_agents to gdoc script

google documentation says user_agents don't work, but will try