Switch from argparse to optparse