Consolidated Adam's code with existing codebase. Created get_url_popularity with Bruno's code from email