switched to argparse and removed old functions