Changed to new string formatted. Switched to argparse from optparse.