Default to global database now
Fix link generation