Hm... why $mod? Would you just want to call out the script?
Also, RAWMODE?