Added global download and testing, and \r\n conversion