Having moved the entire DB to an new computer, i compiled the script and everything seems to work like planned. The problem is that after I run the script and making all the songs no longer greyed out, the track's refuse to play.

After doing so, and rescanning the library, my library ends up with greyed dupes of the original songs, like this:

Saw earlier in this thread that someone managed to move a complete library to a fresh computer without loosing the trackinfo, and would like to know whether they have a recipe for success.