Improved url, date, and error handling