changing Rails.root to app.root