add argparse and fix the query in streamer.py