Added user agent and url fixes