Update to valid versions, test all urls before building, added more log messages to aid debugging