I just tested the script from my first post again. It is working. Be sure you don't use DOS end-of-line characters.