Refactor capistrano