Refactored out getimportantLinks to just getLinks