replacing optparse for argparse
adding option to check specific node