Fixing the deprecated config location definition way to the new one.