Improved grep filtering command (jps doesn't need to contain that it is java process)
Added debugging message when running command