Add the proxy setting accoridng to environment