Changing link from string to ending in an int