Removed MakeLinks function