Changed structure and updated to match Capistrano 3 syntax