changed download_url_regex() and some others