changes to the proxy and ads code
commit2