optimize of capistrano script