template modified, output dest added