replaced get_chart_table.py