That's a great script - thanks for posting it.

Worked good on most files, but then choked on a FILE statement (in a cue file) that named a .flac and proclaimed it a WAV. I don't know what that...