added version comparison and ability to bypass download using a test file.