make proxy an environment