def METHOD_NAME():
    parser = OptionParser()
    parser.add_option("-l", "-L", dest="logDir", help = "creates log files to DIRECTORY", metavar = "DIRECTORY", default = os.getcwd())
    parser.add_option("-p", "-P", dest="pickleDir", help = "reads pickle files from DIRECTORY", metavar = "DIRECTORY", default = os.getcwd())
    parser.add_option("-c", "-C", dest="htmlDir", help = "creates cmsCRPage.html file to DIRECTORY", metavar = "DIRECTORY", default = os.getcwd())
    (options, args) = parser.parse_args()
    logsDir = options.logDir
    pickleDir = options.pickleDir
    htmlDir = options.htmlDir
    if not os.path.exists(logsDir):
        print("Error: wrong directory %s"%logsDir)
        return
    if not os.path.exists(pickleDir):
        print("Error: wrong directory %s"%pickleDir)
        return
    if not os.path.exists(htmlDir):
        print("Error: wrong directory %s"%htmlDir)
        return
    run(pickleDir, logsDir, htmlDir)
    return