def METHOD_NAME():
    global options
    global requiredApps
    global missingApps
    global oldApps
    global thisScriptName
    thisScriptName = os.path.basename(__file__)
    global thisScriptDir
    thisScriptDir = os.path.dirname(__file__)
    # parse the command line
    usage = "usage: %prog [options]"
    homeDir = os.environ['HOME']
    prefixDirDefault = os.path.join(homeDir, 'lrose')
    parser = OptionParser(usage)
    parser.add_option('--debug',
                      dest='debug', default=False,
                      action="store_true",
                      help='Set debugging on')
    parser.add_option('--package',
                      dest='package', default='lrose-core',
                      help='Package name. Options are: ' + \
                      'lrose-core (default), lrose-blaze, lrose-cyclone, lrose-radx, lrose-cidd, samurai')
    parser.add_option('--prefix',
                      dest='prefix', default=prefixDirDefault,
                      help='Install directory, default is ~/lrose')
    parser.add_option('--maxAge',
                      dest='maxAge', default=-1,
                      help='Max file age in secs. Check not done if negative (default).')
    (options, args) = parser.parse_args()
    # compute dirs and paths
    global buildDir, checklistPath
    buildDir = os.path.join(thisScriptDir, "..")
    os.chdir(buildDir)
    buildDir = os.getcwd()
    checkListDir = os.path.join(buildDir, "checklists")
    checkListPath = os.path.join(checkListDir, "apps_check_list." + options.package)
    # print status
    if (options.debug == True):
        print("Running %s: " % thisScriptName, file=sys.stderr)
        print("  package: ", options.package, file=sys.stderr)
        print("  prefix: ", options.prefix, file=sys.stderr)
        print("  maxAge: ", options.maxAge, file=sys.stderr)
        print("  buildDir: ", buildDir, file=sys.stderr)
        print("  checkListPath: ", checkListPath, file=sys.stderr)
    # read in required list
    if (readRequiredList(checkListPath) != 0):
        sys.exit(255)
    # check required files exist
    checkForApps()
    if (len(missingApps) > 0):
        print("==================>> ERROR <<====================", file=sys.stderr)
        print("=====>> INCOMPLETE " + options.package + " APPS INSTALLATION <<====", file=sys.stderr)
        print("  n applications missing: " + str(len(missingApps)), file=sys.stderr)
        for app in missingApps:
            print("    missing app: " + app, file=sys.stderr)
        print("=================================================", file=sys.stderr)
    else:
        print("================>> SUCCESS <<==================", file=sys.stderr)
        print("=========>> ALL " + options.package + " APPS INSTALLED <<========", file=sys.stderr)
        print("===============================================", file=sys.stderr)
    if (len(oldApps) > 0):
        print("==================>> WARNING <<====================", file=sys.stderr)
        print("=====>> SOME " + options.package + " APPS ARE OLD <<====", file=sys.stderr)
        print("  n old apps: " + str(len(oldApps)), file=sys.stderr)
        if (options.debug):
            for app in oldApps:
                print("    old app: " + app, file=sys.stderr)
        print("=================================================", file=sys.stderr)
    sys.exit(0)