fix bugs

It is not necessary anymore to have oms installed at the same path on
the remote machine, not even to have it installed at all. The recognizer
script is now copied to the remote location and executed there.

Fixed some paths.