Fix Configuration file location checking, from registry first then from current directory if not in registry.