allow mulpitle links to be passed in at once.  cleanup