Fixed argparse/optparse for python 2.6