Any way to move some of this code to a relocate_app.rb so that we don't keep making djinn.rb bigger and bigger?