Changes for accepting arrays into links