def METHOD_NAME(extract_script=None, singular_binary=None):
    """
    Run Singular script to extract current keywords and save as file
    'keywords.txt'
    """
    # ensure the homedir exists
    if not os.path.isdir(HOME_DIR):
        os.makedirs(HOME_DIR)
    if extract_script is None:
        extract_script = EXTRACT_SCRIPT
    if singular_binary is None:
        singular_binary = SINGULAR_BIN
    # extract keywords using the singular script
    os.system(singular_binary + " -q " + extract_script +
            " | sort | uniq > " + KEYWORDS_FILE)
    # read from the file created by singular
    dictionary = read_dictionary()
    return dictionary