Revert "Don't use the path to the command but the command itsef"

This reverts commit 6b59adc0faa144b3441a1cdc5e37acebc3b33d4e.
the cmd might not be executable so use python path/to/cmd instead