updated run.pl