added sed module
replacer uses sed module
modified declaration of LookupValue function