split out most non-tool-list main.pl into run.pl