Ok, I should have spotted that myself, sorry for the inconvenience. And thanks for taking a look into it, though.
UnnamedCharacter, do you think you could also provide a version that's not command-line based but listens for HTTP POST requests?
If not, no problem. One can always but a wrapper...