Fixed the proxy cap script