added safe_mode to prevent processing ALL downloads.