Made the --offline flag work with the version downloading