added files for running reduction and flat trees with reg vars