<%args>
$field_id
$imgtype => 'epsc'
</%args>

<%init>
my $model = $m->notes('MODEL');
$r->content_type('text/plain');
my @stuff = `obsTool --instance $model --detections --motion $field_id`;
$m->clear_buffer;
$m->print(@stuff);
$m->abort;
</%init>
