upgrade from optparse to argparse which is only available in
python 2.7+ version
add list image