move proxy related things to proxy.sh