Changed the way links are added with leader keys