Changed chart.py to take command line args.