changed mesage output from check for process to go to stderr and use debug:print