DB settings moved to functions_PF