script now parses and displays links