Added random link functionality