Refactor dictionaries.py
Don't force the query to be lowercase
Update workflow