LOOKUP is a leftover from cf-know. I have removed it in a separate commit, not related to DetectEnvironment function.