adapted for our needs
added proxies and ftp