app.rb, machine stats updated