More changes to app.rb file