Updated runProgram to return peer statuses for repl