clone of capistrano in groovy