Moved version parsing into new method. Better download logic.