setting variable to haystack backend