Enhancement: Replaced optparse with argparse