You didn't install it properly. If you want more help you'll need to provide more details such as what you currently have in links.cfg but judging by the error message it gives you hints as to what is wrong if you read it:
>> This message usually indicates there is a problem with the script itself. Often this indicates either that the #! line of the script is incorrect, or the script was uploaded in binary mode instead of ascii mode. Check to make sure that the script does not have control-M's at the end of every line. That will prevent it from executing. An easy fix that takes care of this most of the time is to put '#!/.../perl --' instead of '#!/.../perl' on the first line of the script. <<