add automatic sudo support for scripts in cl-run.pl