Okay. Again, the PHP script only does anything with TV shows. I don't download any movies.
I use TED to get the shows I want.
Transmission opens the torrent files, and saves the show into the downloads folder.
Hazel sees the new file, runs the php script and it's moved into the appropriate folder.
All done. Everything automated. Nothing more to it.