capistrano refactoring