Was totally stuck until I read this, now back up and rnuning.
I'll try to put this to good use immeidtealy.