Changed function call to use new function rebuildLinkTables(), replacing the old...