Use code location to read config