adding autoproxy stuff