wip, mostly working now. thanks argparse!