Modernize and fix module_imgur