Fixed pull_wordlist to take freq into account.