Refactor for capistrano 3.0