<%args>
$id
</%args>

<%init>
my $model = $m->notes('MODEL');
my @stuff = `mt --instance=$model --global_oid=$id --xd $id --header`;

$r->content_type('text/plain');
$m->clear_buffer;
$m->print(@stuff);
$m->abort;
</%init>
