Fixes to proxy server and config file to create file