add pydiction setting