revived some proxy logic
added first lines of code for the proxy extention