var_ngram change plus a script addition