add replace_longtable.py