I am running the tomatoUSB custom firmware with the latest shibby mod on my Asus RT-n66u router. 

I have configured the transmission web interface that was preloaded and its up and running. Now I am looking for unrar/unpack script(?) that unrars (if its rared) completed downloads to a given directory.

What is the easiest way to accomplish this?