simplify run_consolidate.sh