import adding in proxy_thread and main