simplify allpaths run script