Use argparse instead of deprecated optparse