Update run_refresh.py to support new plain table refresh