Applying markdown style
use argparse instead of optparse, optparse is deprecated