refine proxy.py lib path and proxy.bat dir