updating links in script