#!/usr/bin/env perl
-BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' }
-
-use strict;
-use warnings;
-use FindBin;
-use lib "$FindBin::Bin/../lib";
-use NDWeb;
-
-NDWeb->run;
+use Catalyst::ScriptRunner;
+Catalyst::ScriptRunner->run('NDWeb', 'CGI');
1;
=head1 COPYRIGHT
-
This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
+