Add process state name to output