refactor for capistrano 3.0