fix the script links