Switched to argparse. Also changed the output.