scripts to combine the root files