[MOD] REST: run operation extended to command scripts. Closes #559