code refacotr, add proxy info when first install