add /usr/local/sbin and new function with_proxy