Added missing $uploaded_to_db