improve run.bash