moved copy to hist dir to addrun.py